package com.logistics.team3.po;
// default package

import java.util.HashSet;
import java.util.Set;


/**
 * 角色
 * Role entity. @author MyEclipse Persistence Tools
 */

public class Role  implements java.io.Serializable {


    // Fields    

     private String id;
     /**
      *名称 
      */
     private String name;
     /**
      * 描述
      */
     private String describe;
     private Set rolePowers = new HashSet(0);
     private Set roleEmployees = new HashSet(0);


    // Constructors

    /** default constructor */
    public Role() {
    }

    
    /** full constructor */
    public Role(String name, String describe, Set rolePowers, Set roleEmployees) {
        this.name = name;
        this.describe = describe;
        this.rolePowers = rolePowers;
        this.roleEmployees = roleEmployees;
    }

   
    // Property accessors

    public String getId() {
        return this.id;
    }
    
    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getDescribe() {
        return this.describe;
    }
    
    public void setDescribe(String describe) {
        this.describe = describe;
    }

    public Set getRolePowers() {
        return this.rolePowers;
    }
    
    public void setRolePowers(Set rolePowers) {
        this.rolePowers = rolePowers;
    }

    public Set getRoleEmployees() {
        return this.roleEmployees;
    }
    
    public void setRoleEmployees(Set roleEmployees) {
        this.roleEmployees = roleEmployees;
    }

}